package net.telesing.tcmc.back.model;

import net.telesing.tcmc.common.BaseModel;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.View;

/**
 * 资料说明Model
 *
 * Created by Zmt on 2015/11/10.
 */
@Table("tsc_version_data")
@View("vsc_version_data")
public class DataModel extends BaseModel
{
    @Column("VERSION_NAME")
    private String vName;

    @Column("VERSION_CODE")
    private int vCode;

    @Column("VERSION_DESC")
    private String vDesc;

    @Column("FILE_PATH")
    private String path;

    @Column
    private String suffix;

    @Column("FILE_TYPE")
    private int type;

    @Column("FILE_TYPE_NAME")
    @Readonly
    private String typeName;
    
    @Column("PRE_VERSION_CODE")
    private int pvCode;

    @Column("FILE_NAME")
    private String name;

    public String getvName()
    {
        return vName;
    }

    public void setvName(String vName)
    {
        this.vName = vName;
    }

    public int getvCode()
    {
        return vCode;
    }

    public void setvCode(int vCode)
    {
        this.vCode = vCode;
    }

    public String getvDesc()
    {
        return vDesc;
    }

    public void setvDesc(String vDesc)
    {
        this.vDesc = vDesc;
    }

    public String getPath()
    {
        return path;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public String getSuffix()
    {
        return suffix;
    }

    public void setSuffix(String suffix)
    {
        this.suffix = suffix;
    }

    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public String getTypeName()
    {
        return typeName;
    }

    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }
    
    public int getPvCode()
    {
        return pvCode;
    }

    public void setPvCode(int pvCode)
    {
        this.pvCode = pvCode;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
    
}
